public class Product {
    private String PartA;
    public String getPartA() {
        return PartA;
    }
    public void setPartA(String partA) {
        PartA = partA;
    }
    private String PartB;
    public String getPartB() {
        return PartB;
    }
    public void setPartB(String partB) {
        PartB = partB;
    }
    @Override
    public String toString(){
        return "五菱宏光[排量 = "+PartA+", 驱动方式 = "+PartB+"]";
    }

}
